<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jbox/jBox.css"/>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/plug/jbox/jBox.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/org/department/org_department_detail.js"></script>
<div class="window-title-bar" style="background-color: white;">
    <h5 class="title" >查看部门</h5>
</div>
    <form id="updateForm">
        <input id="updateId" name="id" type="hidden" value="${orgDepartment.id}">
        <table class="advanced_table" cellpadding="0" cellspacing="0">
            <tr>
                <td class="attr"><span class="required">名 &nbsp; &nbsp;称：</span></td>
                <td>
                    <input id="labelEdit" type="text"  name="name" value="${orgDepartment.name}" readonly="readonly">
                </td>
            </tr>
            <tr>
                <td class="attr"><span>代 &nbsp; &nbsp;码：</span></td>
                <td>
                    <input id="code" type="text"  name="code" value="${orgDepartment.code}" readonly="readonly">
                   
                </td>
            </tr>
            <tr>
                <td class="attr"><span class="required">负责人：</span></td>
                <td>
                    <input id="principal" type="text" name="principal" value="${orgDepartment.principal}" readonly="readonly">
                    
                </td>
            </tr>
            <tr>
                <td class="attr"><span class="required">联系电话：</span></td>
                <td>
                    <input id="phone" type="text"  name="phone" placeholder="例：区号-电话号" value="${orgDepartment.phone}" readonly="readonly">
                    
                </td>
            </tr>
            <tr>
				<td class="attr">
					<span>排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序：</span>
				</td>
				<td>
					<input id="sortFlag" type="text" name="sortFlag" value="${orgDepartment.sortFlag }" readonly="readonly"> 
				</td>
			</tr>
            <tr>
                <td class="attr"><span class="required">上级部门： </span></td>
                <td>
                    <input id="departmentAddListEdit" type="text" name="departmentAddList" readonly="readonly" value="${parentDepartment.name}" >
                    <input id="parentIdEdit" type="hidden" name="parentId" value="${orgDepartment.parentId}">
                    
                </td>
            </tr>
            <tr>
                <td class="attr"><span>备 &nbsp; &nbsp;注：</span></td>
                <td>
                    <input id="remark" type="text" name="remark" value="${orgDepartment.remark}" style="width: 100%" readonly="readonly">
                </td>
            </tr>
        </table>
        <!--  <div class="buttons">
       		 <button type="submit" class="green">更新</button>
      	  	 <button id="cancleBtn" type="button" class="red">取消</button>
    	 </div> -->
    </form>
